package rbm.modelado.datos;

import java.util.List;

import rbm.modelado.datos.elementos.interfaces.PuzzleFloor;



public class DatosPuzzleImpl implements DatosPuzzle {


   protected List<PuzzleFloor> board;

   protected String puzzleName = "New puzzle";


   
   public DatosPuzzleImpl( List<PuzzleFloor> b, String name )
   {
      board = b;
      puzzleName = name;
   }


	public String getNombre() {

		return puzzleName;
	}
	

	public List<PuzzleFloor> getPuzzle() {

		 return board;
	}


	public PuzzleFloor getFloor(Integer nivel) {
		
		return board.get(nivel);
	}


}